Package-level declarations
Types
Link copied to clipboard
Result type for dashboard route listing operations with cache-first support.
Link copied to clipboard
Result type for route configuration operations.
Link copied to clipboard
Result type for getting route detail with offline-first support.
Link copied to clipboard
Result type for getting paginated routes list. Contains pagination metadata for efficient list navigation.
Link copied to clipboard
Events emitted by zync.api.route.ZyncRouteManager.observeDashboardChanges flow.
Link copied to clipboard
Link copied to clipboard
data class ZyncRoute(val isOptimized: Boolean?, val routeName: String, val routeUid: String, val jobs: List<ZyncRouteJob>?, val totalDistance: Double?, val totalJobs: Int?, val totalTime: Double?, val transportMode: ZyncRouteTransportMode, val color: String?, val startLocation: ZyncRouteStartEndLocation?, val endLocation: ZyncRouteStartEndLocation?, val departureDateTime: String?, val polyline: List<ZyncRoutePolyline>?, val isRecurringRoute: Boolean, val assignedUsers: List<ZyncRouteAssignedUser>)
Link copied to clipboard
Link copied to clipboard
Route configuration for a specific job within a route.
Link copied to clipboard
data class ZyncRouteDetail(val routeUid: String, val routeName: String, val isOptimized: Boolean?, val transportMode: ZyncRouteTransportMode, val color: String?, val totalDistance: Double?, val totalTime: Double?, val totalJobs: Int?, val duration: Double?, val routeEndTime: String?, val routeType: String?, val enableTraffic: Boolean?, val isLocked: Boolean?, val startLocation: ZyncRouteStartEndLocation?, val endLocation: ZyncRouteStartEndLocation?, val departureDateTime: String?, val polyline: List<ZyncRoutePolyline>?, val isRecurringRoute: Boolean, val jobs: List<ZyncRouteDetailJob>?, val assignedUsers: List<ZyncRouteAssignedUser>)
Detailed route information including navigation data, schedule, and associated jobs.
Link copied to clipboard
data class ZyncRouteDetailJob(val job: ZyncJobCompact, val sequence: Int?, val distance: Double?, val time: Double?, val geoCords: List<Double>?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Transport mode enum for routes.
Link copied to clipboard